<div>
<?php 
$checkOutDetail = $getECResponse->GetExpressCheckoutDetailsResponseDetails;
echo "支付用户：".$checkOutDetail->PayerInfo->PayerName->FirstName.''.$checkOutDetail->PayerInfo->PayerName->LastName;
echo "<hr />";
$OrderTotal = $checkOutDetail->PaymentDetails[0]->OrderTotal;
$PaymentDetailsItem = $checkOutDetail->PaymentDetails[0]->PaymentDetailsItem;
echo '订单金额:'.Utils::getCurrencyUnit($OrderTotal->currencyID).$OrderTotal->value;
echo "<hr />";
echo "商品列表:";
echo "<table class='table'>";
echo "<tr><td>商品名称</td><td>数量</td><td>金额</td></tr>";
foreach($PaymentDetailsItem as $item){
	echo "<tr>";
	echo "<td>".$item->Name."</td>";
	echo "<td>".$item->Quantity."</td>";
	echo "<td>".Utils::getCurrencyUnit($item->Amount->currencyID).$item->Amount->value."</td>";
	echo "</tr>";
}
echo "</table>";
?>
<a class="btn" href="<?php echo $url;?>">确认支付</a>
</div>